package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 正式党员转正对象 party_formal
 * 
 * @author ruoyi
 * @date 2025-10-16
 */
public class PartyFormal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 正式党员ID */
    private Long formalId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 转正申请书 */
    @Excel(name = "转正申请书")
    private String applicationFile;

    /** 预备期总结 */
    @Excel(name = "预备期总结")
    private String summaryReport;

    /** 支部意见 */
    @Excel(name = "支部意见")
    private String branchOpinion;

    /** 批准文件 */
    @Excel(name = "批准文件")
    private String approvalFile;

    /** 转正日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "转正日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date formalDate;

    /** 审核状态（0待审核 1通过 2需修改） */
    @Excel(name = "审核状态", readConverterExp = "0=待审核,1=通过,2=需修改")
    private String auditStatus;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String auditOpinion;

    /** 审核人 */
    @Excel(name = "审核人")
    private String auditBy;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    /** 删除标志（0存在 2删除） */
    private String delFlag;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    public void setFormalId(Long formalId) 
    {
        this.formalId = formalId;
    }

    public Long getFormalId() 
    {
        return formalId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setApplicationFile(String applicationFile) 
    {
        this.applicationFile = applicationFile;
    }

    public String getApplicationFile() 
    {
        return applicationFile;
    }

    public void setSummaryReport(String summaryReport) 
    {
        this.summaryReport = summaryReport;
    }

    public String getSummaryReport() 
    {
        return summaryReport;
    }

    public void setBranchOpinion(String branchOpinion) 
    {
        this.branchOpinion = branchOpinion;
    }

    public String getBranchOpinion() 
    {
        return branchOpinion;
    }

    public void setApprovalFile(String approvalFile) 
    {
        this.approvalFile = approvalFile;
    }

    public String getApprovalFile() 
    {
        return approvalFile;
    }

    public void setFormalDate(Date formalDate) 
    {
        this.formalDate = formalDate;
    }

    public Date getFormalDate() 
    {
        return formalDate;
    }

    public void setAuditStatus(String auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public String getAuditStatus() 
    {
        return auditStatus;
    }

    public void setAuditOpinion(String auditOpinion) 
    {
        this.auditOpinion = auditOpinion;
    }

    public String getAuditOpinion() 
    {
        return auditOpinion;
    }

    public void setAuditBy(String auditBy) 
    {
        this.auditBy = auditBy;
    }

    public String getAuditBy() 
    {
        return auditBy;
    }

    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("formalId", getFormalId())
            .append("userId", getUserId())
            .append("applicationFile", getApplicationFile())
            .append("summaryReport", getSummaryReport())
            .append("branchOpinion", getBranchOpinion())
            .append("approvalFile", getApprovalFile())
            .append("formalDate", getFormalDate())
            .append("auditStatus", getAuditStatus())
            .append("auditOpinion", getAuditOpinion())
            .append("auditBy", getAuditBy())
            .append("auditTime", getAuditTime())
            .append("delFlag", getDelFlag())
            .append("nickName", getNickName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
